# This file demonstrates how to compile the AntiCheat project on Linux.
#
# To compile AntiCheat do:
#
# make AntiCheat
#

GPP = g++
GCC = gcc
AntiCheat_OUTFILE = "../Debug/AntiCheat.so"

COMPILE_FLAGS = -m32 -fPIC -c -O3 -w -D LINUX -D PROJECT_NAME=\"AntiCheat\" -I ./amx/

AntiCheat = -D AntiCheat $(COMPILE_FLAGS)

all: AntiCheat

clean:
	-rm -f *~ *.o *.so

AntiCheat: clean
	$(GPP) $(AntiCheat) ./amx/*.cpp
	$(GPP) $(AntiCheat) *.cpp
	$(GPP) -m32 -O2 -fshort-wchar -shared -o $(AntiCheat_OUTFILE) *.o

